﻿using System;
using System.Collections.Generic;
using PPI.Entities.Lookup;
using PPI.Entities.Interface;
using PPI.Entities.Settings.Mobile;

namespace PPI.Entities.Inspections
{
    public class ECompany : ELookupBase, IMobileSetting
    {
        #region - Properties -

        /// <summary>
        /// Company inspectors
        /// </summary>
        public List<EInspector> Inspectors {get;set; }

        #endregion

        #region - Constructors -

        public ECompany()
        {
            Inspectors = new List<EInspector>();
        }

        public ECompany(Int32 id) : this()
        {
            Id = id;
        }

        public ECompany(Int32 id, string name) : this(id)
        {
            Name = name;
        }

        #endregion

        #region - IMobileSetting Members -

        public EnumMobileSettings MobileSettingKey
        {
            get { return EnumMobileSettings.Company; }
        }

        #endregion
    }
}
